package com.jingdun.sport.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jingdun.sport.bean.model.Withdrawal;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface WithdrawalMapper extends BaseMapper<Withdrawal> {

	public void addWithdrawal(Withdrawal withdrawal);

	public Withdrawal getWithdrawalDetail(@Param("params") Map<String, Object> m);

	public void updateWithdrawal(Withdrawal withdrawal);

	public List<Map<String,Object>> getPaginationWithdrawal(Page<Map<String, Object>> page, @Param("params") Map<String, Object> m);

}